import request from '@/utils/request'

//修改用户信息
export function updateUserInfoApi(userInfo){
    return request({
        method:'post',
        url:'/user/update',
        data:userInfo
    })
}

//获取全部用户分页列表
export function getUserArticleList(pageIndex){
    return request({
        method:'get',
        url:'/admin/user/find/all',
        params:{
            "page":pageIndex
        }
    })
}